package com.apps.sannotation.constraints;

import java.lang.annotation.*;

/**
 * 被注解的必须是字符串,会自动删除空格和非法字符串
 */
@Target({ElementType.TYPE,ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface StrTrim {

    Class<?> type();
}
